﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_UpdateTeam]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_UpdateTeam];
GO
CREATE PROCEDURE [dbo].[sproc_UpdateTeam]
    @TeamID int,
    @TeamName nvarchar(300),
    @TeamRemark nvarchar(300)
AS
UPDATE uds_class SET classname = @teamname,classremark = @teamremark 
    WHERE classid = @teamid